package com.starlink.model.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城文创周边订单请求模型")
public class MallPeripheryOrderRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("订单状态")
    private String status;
    @ApiModelProperty("订单编号")
    private String orderNum;
    @ApiModelProperty("总价")
    private BigDecimal totalAmount;
    @ApiModelProperty("运费")
    private BigDecimal freight;
    @ApiModelProperty("规格")
    private String specification;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("超时时间")
    private Date timeout;
    @ApiModelProperty("备注")
    private String comments;
    @ApiModelProperty("收货地址ID")
    private Long addressId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("取消时间")
    private Date cancelTime;
}
